package com.community.admin.news_bulletin.validator;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * @author Aiden
 * @date 2021/11/21
 */
@Data
public class NewsBulletinValid implements Serializable {
    @NotEmpty(message = "新闻标题不能为空")
    private String news_headlines;
    @NotEmpty(message = "发布人不能为空")
    private String news_release_person;
}